<template>
    <div class="m_left">
        <div class="left_n">用户中心</div>
        <div class="left_m">
            <div class="left_m_t t_bg1">资讯中心</div>
            <ul>
                <li><a href="#" @click="toNewsList()">资讯列表</a></li>
            </ul>
        </div>
        <div class="left_m">
            <div class="left_m_t t_bg1">订单中心</div>
            <ul>
                <li><a href="#" @click="toOrder()">我的订单</a></li>
                <li><a href="#" @click="toAddress()">收货地址</a></li>
                <li><a href="#">缺货登记</a></li>
                <li><a href="#">跟踪订单</a></li>
            </ul>
        </div>
        <div class="left_m">
            <div class="left_m_t t_bg2">会员中心</div>
            <ul>
                <li><a href="#" @click="toUserInfo()">用户信息</a></li>
                <li><a href="#" @click="toCollect()">我的收藏</a></li>
                <li><a href="Member_Msg.html">我的留言</a></li>
                <li><a href="Member_Links.html">推广链接</a></li>
                <li><a href="#">我的评论</a></li>
            </ul>
        </div>
        <div class="left_m">
            <div class="left_m_t t_bg3">账户中心</div>
            <ul>
                <li><a href="Member_Safe.html">账户安全</a></li>
                <li><a href="Member_Packet.html">我的红包</a></li>
                <li><a href="Member_Money.html">资金管理</a></li>
            </ul>
        </div>
        <div class="left_m">
            <div class="left_m_t t_bg4">分销中心</div>
            <ul>
                <li><a href="Member_Member.html">我的会员</a></li>
                <li><a href="Member_Results.html">我的业绩</a></li>
                <li><a href="Member_Commission.html">我的佣金</a></li>
                <li><a href="Member_Cash.html">申请提现</a></li>
            </ul>
        </div>
    </div>
</template>

<script>
export default {
    name: 'MemberContentLeft',
    data() {
        return {

        }
    }, methods: {
        toUserInfo() {
            this.$router.push('/memberUserInfo').catch(() => { })
        },
        toAddress() {
            this.$router.push('/memberAddress').catch(() => { })
        },
        toOrder() {
            this.$router.push('/memberOrder').catch(() => { })
        },
        toCollect() {
            this.$router.push('/memberCollect').catch(() => { })
        },
        toNewsList() {
            this.$router.push('/memberNewsList').catch(() => { })
        }
    }
}
</script>
